package net.ericaro.neojavagen.expressions;

/**
 * <b>DimSpecifier</b> ::= <{@link net .ericaro .neojavagen .expressions .NormalDimSpecifier NormalDimSpecifier}> <
 * {@link net .ericaro .neojavagen .expressions .InitializedDimSpecifier InitializedDimSpecifier}>
 * 
 * @author eric@ericaro.net
 */
public class DimSpecifier extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.expressions.InitializedDimSpecifier initializedDimSpecifier;

	private net.ericaro.neojavagen.expressions.NormalDimSpecifier normalDimSpecifier;

	public DimSpecifier(net.ericaro.neojavagen.expressions.NormalDimSpecifier normalDimSpecifier, net.ericaro.neojavagen.expressions.InitializedDimSpecifier initializedDimSpecifier) {
		super();
		this.normalDimSpecifier = normalDimSpecifier;
		this.initializedDimSpecifier = initializedDimSpecifier;
	}

	public net.ericaro.neojavagen.expressions.InitializedDimSpecifier getInitializedDimSpecifier() {
		return initializedDimSpecifier;
	}

	public net.ericaro.neojavagen.expressions.NormalDimSpecifier getNormalDimSpecifier() {
		return normalDimSpecifier;
	}

	public void setInitializedDimSpecifier(net.ericaro.neojavagen.expressions.InitializedDimSpecifier initializedDimSpecifier) {
		this.initializedDimSpecifier = initializedDimSpecifier;
	}

	public void setNormalDimSpecifier(net.ericaro.neojavagen.expressions.NormalDimSpecifier normalDimSpecifier) {
		this.normalDimSpecifier = normalDimSpecifier;
	}

	@Override
	public java.lang.String toString() {
		return print(normalDimSpecifier, initializedDimSpecifier);
	}
}
